package com.metasoft.flex {
	import mx.collections.ArrayCollection;
	
	public class ProgramItem {
		
		private var _id:String;
		private var _title:String;
		private var _synopsis:String;
		private var _tags:Array;
		private var _thumbnail:String;
		private var _preview:String;
		private var _price:String;
		private var _rating:Number;
		private var _thumbnailStream:Array;
		private var _relatedMaterial:Array;
		private var _trailers:Array;
		private var _creditItems:Array;
		private var _intentions:Array;
		private var _parentalGuidance:Array;
		private var _releaseDate:String;
		private var _officialURI:String;
		private var _content:Array;
		private var _mediaType:Array;
		private var _atmosphere:Array;
		private var _format:Array;
		private var _intendedAudience:Array;
		private var _origination:Array;
		private var _subTitle:String;
		
		public function ProgramItem() {
			_content = new Array(0);
			_mediaType =  new Array(0);
			_atmosphere = new Array(0);
			_format = new Array(0);
			_intendedAudience = new Array(0);
			_origination = new Array(0);
			_tags = new Array(0);
			_trailers = new Array(0);
			_intentions = new Array(0);
			_parentalGuidance = new Array(0);
			_creditItems = new Array();
		}
		
		public function get origination():Array {
			return _origination;
		}
		
		public function set origination(origination:Array):void {
			_origination = origination;
		}
		
		public function get intendedAudience():Array {
			return _intendedAudience;
		}
		
		public function set intendedAudience(intendedAudience:Array):void {
			_intendedAudience = intendedAudience;
		}
		
		public function get content():Array {
			return _content;
		}
		
		public function set content(content:Array):void {
			_content = content;
		}
		
		public function get mediaType():Array {
			return _mediaType;
		}
		
		public function set mediaType(mediaType:Array):void {
			_mediaType = mediaType;
		}
		
		public function get atmosphere():Array {
			return _atmosphere;
		}
		
		public function set atmosphere(atmosphere:Array):void {
			_atmosphere = atmosphere;
		}
		
		public function get format():Array {
			return _format;
		}
		
		public function set format(format:Array):void {
			_format = format;
		}
		
		public function set officialURI(uri:String):void
		{
			_officialURI = uri;
		}
		
		public function get officialURI():String
		{
			return _officialURI;
		}
		
		public function set releaseDate(i:String):void
		{
			_releaseDate = i;
		}
		
		public function get releaseDate():String
		{
			return _releaseDate;
		}
		
		public function get parentalGuidance():Array {
			return _parentalGuidance;
		}
		
		public function set parentalGuidance(parentalGuidance:Array):void {
			_parentalGuidance = parentalGuidance;
		}
			
		public function get intentions():Array {
			return _intentions;
		}
		
		public function set intentions(intentions:Array):void {
			_intentions = intentions;
		}
		
		public function get trailers():Array {
			return _trailers;
		}
		
		public function set trailers(trailers:Array):void {
			_trailers = trailers;
		}
		
		public function get creditItems():Array {
			return _creditItems;
		}
		
		public function set creditItems(creditItems:Array):void {
			_creditItems = creditItems;	
		}		
		
		public function get id():String {
			return _id;
		}
		
		public function set id( value:String ):void {
			_id = value;
		}
		
		public function set thumbnail(i:String):void
		{
			_thumbnail = i;
		}
		
		public function get thumbnail():String
		{
			return _thumbnail;
		}
		
		public function get title():String {
			return _title;
		}
		
		public function set title( value:String ):void {
			_title = value;
		}
		
		public function get subTitle():String {
			return _subTitle;
		}
		
		public function set subTitle(value:String ):void {
			_subTitle = _title;
		}
		
		public function get synopsis():String {
			return _synopsis;
		}
		
		public function set synopsis( value:String ):void {
			_synopsis = value;
		}
		
		public function get tags():Array {
			return _tags;
		}
		
		public function set tags( value:Array ):void {
			_tags = value;
		}
		
		public function get preview():String {
			return _preview;
		}
		
		public function set preview( value:String ):void {
			_preview = value;
		}
		
		public function get price():String {
			return _price;
		}
		
		public function set price(cost:String):void {
			_price = "$" + cost;
		}
		
		public function get rating():Number {
			return _rating;
		}
		
		public function set rating(rating:Number):void {
			_rating = rating;
		}
		
		public function get thumbnailStream():Array {
			return _thumbnailStream;
		}
		
		public function set thumbnailStream(stream:Array):void {
			_thumbnailStream = stream;
		}
		
		public function get relatedMaterial():Array {
			return _relatedMaterial;
		}
		
		public function set relatedMaterial(rm:Array):void {
			_relatedMaterial = rm;
		}

	}
	
}